package FinalTest6;

import java.util.Scanner;

public class SC {
    public static void main(String[] args) {
       Scanner scn=new Scanner(System.in);
        System.out.println("请输入两个数字");
       int firstNum= scn.nextInt();
       int SecondNum=scn.nextInt();
       int sum=firstNum+SecondNum;
       int sub=firstNum-SecondNum;
        System.out.println("两数之和"+sum);
        System.out.println("两数之差"+sub);
    }
}
